// 导入组件
import PageTools from './PageTools'
import UploadExcel from './UploadExcel'
import ImageUpload from './ImageUpload'
import Screenfull from './Screenfull'
import ThemePciker from './ThemePciker'
import Lang from './Lang'
import TagsView from './TagsView'
import Print from 'vue-print-nb'

export default {
  install(Vue) {
    console.log('@/component/index.js里面的install')
    // 注册组件
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('ImageUpload', ImageUpload)
    Vue.component('Screenfull', Screenfull)
    Vue.component('ThemePciker', ThemePciker)
    Vue.component('TagsView', TagsView)
    Vue.component('Lang', Lang)
    // 注册指令
    Vue.use(Print)
  }
}

